$ systemctl status dnsmasq
● dnsmasq.service - DNS caching server.
Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; enabled; vendor preset: disabled)
Active: active (running) since 日 2018-12-23 09:00:12 UTC; 3s ago
Main PID: 3844 (dnsmasq)
CGroup: /system.slice/dnsmasq.service
└─3844 /usr/sbin/dnsmasq -k
12月 23 09:00:12 ansheng systemd[1]: Started DNS caching server..
12月 23 09:00:12 ansheng dnsmasq[3844]: started, version 2.76 cachesize 10000
12月 23 09:00:12 ansheng dnsmasq[3844]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect inotify
12月 23 09:00:12 ansheng dnsmasq[3844]: reading /etc/resolv.conf
12月 23 09:00:12 ansheng dnsmasq[3844]: ignoring nameserver 127.0.0.1 - local interface
12月 23 09:00:12 ansheng dnsmasq[3844]: using nameserver 8.8.8.8#53
12月 23 09:00:12 ansheng dnsmasq[3844]: using nameserver 8.8.4.4#53
12月 23 09:00:12 ansheng dnsmasq[3844]: using nameserver 1.1.1.1#53
12月 23 09:00:12 ansheng dnsmasq[3844]: read /etc/hosts - 6 addresses
共有 0 - dnsmasq支持hosts泛解析